$(function(){
	var index_0 = "/api/clue_customer/allClueView";	//全部
	var index_1 = "/api/clue_customer/clue_weiboView";	//微博
	var index_2 = "/api/clue_customer/clue_activityView";
	var index_3 = "/api/clue_customer/clue_smart_activityView";
	
	$(".s_title>li>a").click(function(){
		var path = $(this).parent().parent().attr("path");
		var index = $(this).parent().index();
		
		var url = "";
		
		if(index == 0)
			url = path+index_0;
		else if(index == 1)
			url = path+index_1;
		else if(index == 2)
			url = path+index_2;
		else if(index == 3)
			url = path+index_3;
		
		window.location.href=url;
	});
});